<%-- 
    Document   : musicas
    Created on : 21/05/2013, 23:02:27
    Author     : Matheus
--%>

<%@page import="java.util.ResourceBundle"%>
<%@page import="org.apache.naming.resources.Resource"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" language="java"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<jsp:include page="cabecalho.jsp"/>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><fmt:message key="system.musicsTitles"/>:<c:if test="${!empty tag}"  ><c:out value="${tag.nome}" /> </c:if> - Music4Me</title>
        <link rel="stylesheet" type="text/css" href="CSS/estilo.css" media="all" />
    </head>
    <body>
        
        <br><br><h1 style="text-align: center;"><fmt:message key="system.musicsTitles"/>: <c:out value="${tag.nome}" /></h1><br>
        
        <div class="conteudo">
            <c:if test="${!empty tag}"  >
                <c:if test="${!empty tag.musicas}"  >
                    <c:forEach var="musica" items="${tag.musicas}">
                       <a id="musica" href="?modulo=musica&acao=ver&id_musica=${musica.id}&id_tag=${tag.id}"><c:out value="${musica.artista}" /> - <c:out value="${musica.nome}" /></a>
                    </c:forEach>
                </c:if>
             </c:if>
        </div>  
        <jsp:include page="rodape.jsp"/>
    </body>
</html>
